package com.ls.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ls.controller.example.model.AddExampleModel;
import com.ls.controller.example.model.EditExampleModel;
import com.ls.controller.example.model.QueryExampleModel;
import com.ls.controller.example.model.updateStatusModel;
import com.ls.entity.Example;
import com.ls.utils.ResultData;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author pengyu
 * @since 2024-06-28
 */
public interface IExampleService extends IService<Example> {
    /** 新增示例  */
    ResultData add(AddExampleModel model);
    /** 更新示例 */
    ResultData edit(EditExampleModel model);
    /**查看示例*/
    ResultData pageList();
    ResultData getPaging(QueryExampleModel model);
    /**修改示例启用状态*/
    ResultData updateStatus(updateStatusModel model);
    /** 删除示例 */
    ResultData del(Long exampleId);
}
